﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<string>" %>
<img id="<%:ViewData.ModelMetadata.PropertyName%>" src="<%:Model %>" style="max-height: 100px;
    max-width: 200px;" />
<%:Html.HiddenFor(model=>model)%>
<img alt="" src="/Content/spacer.gif" onload="StartUploadify('<%:ViewData.ModelMetadata.PropertyName%>')" /><input
    id="<%:ViewData.ModelMetadata.PropertyName%>_Temp" type="file" />